﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="companyManager.aspx.cs" Inherits="WebSite.admin.company.companyManager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>福利点点通 </title>
      <link href="../css/skin.css" rel="stylesheet" type="text/css" />
         <script src="../js/common.js" type="text/javascript"></script>
   
</head>
<body>
    <form id="form1" runat="server">
    <div class="maincontent">
                        <%= HeaderHtml %>
    
      <ext:PageManager ID="PageManager1" runat="server" />  
        <ext:form ID="extForm1" runat="server" BodyPadding="5px" Height="400px" 
            EnableBackgroundColor="true" Title="" ShowHeader="false" >
            <Rows>
                 <ext:FormRow ColumnWidths="50% 50%">
                <Items>
                  
                   <ext:textbox ID="txtCompanyCode"  Label="公司编号" Required="true" 
                        ShowRedStar="true" runat="server" Text=""></ext:textbox>
                   <ext:textbox ID="txtShortName"  Label="公司简称" Required="true" ShowRedStar="true" 
                        runat="server" Text=""></ext:textbox>
                </Items>
            </ext:FormRow>
             <ext:FormRow ColumnWidths="50% 50%">
                <Items>
                    <ext:textbox ID="txtName"  Label="公司全称" Required="true" ShowRedStar="true" 
                        runat="server" Text=""></ext:textbox>
                       <ext:textbox ID="txtManager" Required="true" ShowRedStar="true"  
                        Label="公司负责人" runat="server" Text=""></ext:textbox>
                </Items>
            </ext:FormRow>
              <ext:FormRow ColumnWidths="50% 50%">
                <Items>
                   
                   <ext:textbox ID="txtManagerMobile"  Label="负责人手机号" Required="true" 
                        ShowRedStar="true" runat="server" Text=""></ext:textbox>
                   <ext:checkbox id="chk1"  runat="server"   AutoPostBack="true"    Text="收件人信息与下单人信息相同" 
                        OnCheckedChanged="chk1_CheckedChanged"></ext:checkbox>
                </Items>
            </ext:FormRow>
        
                 <ext:FormRow ColumnWidths="25% 25% 25% 25%">
                <Items>
                   
           <ext:dropdownlist ID="ddlSheng" Label="省份" ShowRedStar="true" CompareType="String"
                CompareValue="-1" CompareOperator="NotEqual" CompareMessage="请选择省份！" runat="server"
                AutoPostBack="true" OnSelectedIndexChanged="ddlSheng_SelectedIndexChanged">
            </ext:dropdownlist>
            <ext:dropdownlist ID="ddlShi" Label="地区市" ShowRedStar="true" CompareType="String"
                CompareValue="-1" CompareOperator="NotEqual" CompareMessage="请选择地区市！" runat="server"
                AutoPostBack="true" OnSelectedIndexChanged="ddlShi_SelectedIndexChanged">
            </ext:dropdownlist>
            <ext:dropdownlist ID="ddlXian" ShowRedStar="false"  CompareMessage="请选择县区市！" Label="县区市" runat="server">
            </ext:dropdownlist>
                        <ext:textbox ID="txtPostcode"  Label="邮  编" runat="server" Text=""></ext:textbox>
                </Items>
            </ext:FormRow>
               <ext:FormRow ColumnWidths="50% 50%">
                <Items>
                         <ext:textbox ID="txtAddress" Required="true" ShowRedStar="true" 
                        Label="公司地址" runat="server"  Text=""></ext:textbox>
                       
                       <ext:dropdownlist ID="ddlSalesman" runat="server" Label="业务员" Required="true"
                        ShowRedStar="True">
                       
                        </ext:dropdownlist>
                </Items>
            </ext:FormRow>
                <ext:FormRow ColumnWidths="50% 50%" >
                <Items>
                    <ext:textbox ID="txtUserName" Required="true" ShowRedStar="true" Label="登录用户名" 
                        runat="server" Text=""></ext:textbox>
                   <ext:textbox ID="txtPassword"  Required="true" ShowRedStar="true" Label="登录密码" 
                        runat="server" Text=""></ext:textbox>
                </Items>
            </ext:FormRow>
                <ext:FormRow ColumnWidths="50% 50%">
                <Items>
                   <ext:dropdownlist ID="ddlUpCompany" runat="server" Label="上级商家" Required="true"
                        ShowRedStar="True">
                     
                    </ext:dropdownlist>
                    <ext:dropdownlist ID="ddlCompanyCategory" runat="server" Label="商家类别" Required="true"
                        ShowRedStar="True">
                        <ext:ListItem Text="经销商" Value="0"></ext:ListItem>
                        <ext:ListItem Text="供货商" Value="1"></ext:ListItem>
                    </ext:dropdownlist>
                </Items>
            </ext:FormRow>
              <ext:FormRow ColumnWidths="30% 30% 40%">
                <Items>
                   <ext:dropdownlist ID="ddlCompanyLevel" runat="server" Label="商家等级" 
                        Required="true" ShowRedStar="True">
                    </ext:dropdownlist>
                        <ext:NumberBox ID="txtCreditMoney" runat="server"   Required="true" ShowRedStar="true" 
                        Label="授信额度" Text=""></ext:NumberBox> 
                       <ext:NumberBox ID="txtOnSale" runat="server"   Required="true" ShowRedStar="true" 
                        Label="折扣" Text=""></ext:NumberBox>
 
                      <ext:label ID="lblOnSaleDescription" Text="*折扣为0.50-1.00之间的数字" runat="server"> </ext:label>
                </Items>
            </ext:FormRow>
                   <ext:FormRow ColumnWidths="50% 50%">
                <Items>
                    <ext:textbox ID="txtEmail"  Label="电子邮件" runat="server" Text=""></ext:textbox>
                   <ext:textbox ID="txtTel"  Label="公司电话" runat="server" Text=""></ext:textbox>
                </Items>
            </ext:FormRow>
               <ext:FormRow ColumnWidths="50% 50%">
                <Items>
                    <ext:textbox ID="txtLinker"  Label="公司联系人" runat="server" Text=""></ext:textbox>
                   <ext:textbox ID="txtMobile"  Label="联系人手机号码" runat="server" Text=""></ext:textbox>
                </Items>
            </ext:FormRow>
    
               <ext:FormRow ColumnWidths="50% 50%">
                <Items>
                    <ext:textbox ID="txtFax"  Label="传  真" runat="server" Text=""></ext:textbox>
                   <ext:textbox ID="txtQQ"  Label="QQ" runat="server" Text=""></ext:textbox>
                </Items>
            </ext:FormRow>

                 <ext:FormRow ColumnWidths="50% 50%">
                <Items>
                <ext:HiddenField id="hdCompany" runat="server"></ext:HiddenField>
                      <ext:button runat="server" Text="保 存" ValidateForms="extForm1"  ID="btnSubmitForm1"   Type="Submit"   OnClick="btnSubmitForm1_Click">
                       </ext:button>

                </Items>
            </ext:FormRow>
            </Rows>
        </ext:form>
 
          
    </div>
    </form>
</body>
</html>
